package app.Disthanitian.thaistyle.EmerMez;

import static android.provider.BaseColumns._ID;
import static app.Disthanitian.thaistyle.EmerMez.Constant.DESTINATIONLAT;
import static app.Disthanitian.thaistyle.EmerMez.Constant.DESTINATIONLNG;
import static app.Disthanitian.thaistyle.EmerMez.Constant.NAME;
import static app.Disthanitian.thaistyle.EmerMez.Constant.ORIGINLAT;
import static app.Disthanitian.thaistyle.EmerMez.Constant.ORIGINLNG;
import static app.Disthanitian.thaistyle.EmerMez.Constant.TABLE_NAME;
import static app.Disthanitian.thaistyle.EmerMez.Constant.TIMES;
import static app.Disthanitian.thaistyle.EmerMez.Constant.TYPE;

import java.util.ArrayList;

import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.util.Log;

/**
 * @author Living_Room
 * 
 */
public class RiskZone {
	private String id;
	private String nameStart;
	private String nameEnd;
	private String oiriginLat;
	private String originLng;
	private String destinationLat;
	private String destinationLng;
	private String date;
	private String time;
	private String userId;
	private String type;
	private String ratingAvg;
	private String ratingSum;
	private String ratingCount;
	private boolean added;
	private String nickName;
	private String enable;
	private int icon;
	
	
	public int getIcon() {
		return icon;
	}

	public void setIcon(int icon) {
		this.icon = icon;
	}

	public String getEnable() {
		return enable;
	}

	public void setEnable(String enable) {
		this.enable = enable;
	}

	public void setAdded(boolean added) {
		this.added = added;
	}

	public boolean getAdded() {
		return added;
	}

	public void setAdded(Boolean added) {
		this.added = added;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getRatingAvg() {
		return ratingAvg;
	}

	public void setRatingAvg(String ratingAvg) {
		this.ratingAvg = ratingAvg;
	}

	public String getRatingSum() {
		return ratingSum;
	}

	public void setRatingSum(String ratingSum) {
		this.ratingSum = ratingSum;
	}

	public String getRatingCount() {
		return ratingCount;
	}

	public void setRatingCount(String ratingCount) {
		this.ratingCount = ratingCount;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getUserId() {
		return userId;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	private DatabaseConnection db;
	private SQLiteDatabase mdb;
	private Cursor mCursor;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	

	public String getNameStart() {
		return nameStart;
	}

	public void setNameStart(String nameStart) {
		this.nameStart = nameStart;
	}

	public String getNameEnd() {
		return nameEnd;
	}

	public void setNameEnd(String nameEnd) {
		this.nameEnd = nameEnd;
	}

	public String getOiriginLat() {
		return oiriginLat;
	}

	public void setOiriginLat(String oiriginLat) {
		this.oiriginLat = oiriginLat;
	}

	public String getOriginLng() {
		return originLng;
	}

	public void setOriginLng(String originLng) {
		this.originLng = originLng;
	}

	public String getDestinationLat() {
		return destinationLat;
	}

	public void setDestinationLat(String destinationLat) {
		this.destinationLat = destinationLat;
	}

	public String getDestinationLng() {
		return destinationLng;
	}

	public void setDestinationLng(String destinationLng) {
		this.destinationLng = destinationLng;
	}

	
	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	// Return All of RiskZone in the Database (SQL Lite)
	

}
